<?php

 

//include "com/funcs/add.php";
spl_autoload_register(function ($class) {
    echo PHP_EOL.$class.PHP_EOL;
    echo "\n111\n";

    //交给下一个自动加载类
    return;
    include  $class . '.php';
});
spl_autoload_register(function ($class) {
    echo "\n2222\n";
    echo PHP_EOL.$class.PHP_EOL;
    include  $class . '.php';
});

 $p=new \com\funcs\BB();
//$p->echoPI();